% V20210224 - 4.3.1 GW_ADD_LOADING_IMG INCLUDE "GW.bas" % Create a page. p = GW_NEW_PAGE() GW_ADD_LOADING_IMG(p, "GW/images/ajax-loader.gif", 0) % Prepare title bar string. Title$ = GW_ADD_BAR_TITLE$("Loading Image Example") % Add title to page. GW_ADD_TITLEBAR(p,Title$) % Add descriptive text. GW_ADD_TEXT(p, "This is an example of the LOADING IMAGE function.") % Add descriptive text. GW_ADD_TEXT(p, "Here we add an IMAGE just to waste time:") % Now add an image control. GW_ADD_IMAGE(p, "cartman.png") % Now show the page. GW_RENDER(p) DO % Wait for user action. r$ = GW_WAIT_ACTION$() % Place here any necessary code to process user actions. % Some feedback. POPUP r$ % End when BACK key is pressed. UNTIL r$ = "BACK" END "End of Loading Image example."